package com.yyi.springcloud.yyi.service.impl;

import com.yyi.springcloud.yyi.bean.warpper.Content;
import com.yyi.springcloud.yyi.mapper.ContentMapper;
import com.yyi.springcloud.yyi.service.ContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ContentServiceImpl implements ContentService {
    @Autowired
    private ContentMapper contentMapper;
    @Override
    public List<Content> getContentList() {
        return contentMapper.getListContent();
    }
}
